import { get, post } from "@/utils/request";

/*部门树*/
export function orgTree(id)
{
  return get("/mgxxServer/public/treeselect", { id });
}

// 查询user
export function queryUserList(orgId) {
  return get("/mgxxServer/public/findUser", { orgId });
}

// 字典集合
export function dictListAll(ids) {
  return get("/mgxxServer/public/listByTypes", { ids });
}

// 配置字典集合
export function findConfig(group) {
  return get("/mgxxServer/config/findConfig", {group });
}
//修改配置字典
export function terminalConfig(map) {
  return post("/mgxxServer/config/terminalConfig", map );
}
//准入配置
export function nacuserConfig(map) {
  return post("/mgxxServer/config/nacuserConfig", map );
}


// 行业类型树
export function treeClassify() {
  return get("/mgxxServer/public/treeClassify", {  });
}

// 根据行业分页查询关键词
export function builtInPage(query) {
  return get("/mgxxServer/public/builtInPage", query);
}

// 数据磁盘
export function mysqlDisk() {
  return get("/mgxxServer/statistics/mysqlDisk");
}

// 网卡集合
export function nacNetList() {
  return get("/mgxxServer/public/nacNetList");
}
